package com.wendyxie.sproutup.entity

import com.wendyxie.sproutup.utils.RandomUtil
import java.time.LocalDateTime

data class UserScoreTmplEntity(
    var id: String = "",
    var userId: String = "",
    var babyId: String = "",
    var score: Int = 0,
    var frequency: String,
    var scoreTitle: String,
    var isAuto: Int? = 0,
    var createTime: LocalDateTime,
    var updateTime: LocalDateTime,
) {

    constructor(score: Int, frequency: String, scoreTitle: String, isAuto: Int? = 0) : this(
        "",
        "",
        "",
        score,
        frequency,
        scoreTitle,
        isAuto,
        LocalDateTime.now(),
        LocalDateTime.now()
    )
}
